package com.clwl.supervise.superviseapp.entity.supervise;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
    * 飞行计划检查标准
    */
@Data
@TableName(value = "JG_FLIGHT_STANDARD")
//@KeySequence(value = "JG_FLIGHT_STANDARD_SQE")
public class JgFlightStandard implements Serializable {
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 监管标准id
     */
    @TableField(value = "STANDARD_ID")
    private Long standardId;

    /**
     * 检查项目名称
     */
    @TableField(value = "NAME")
    private String name;

    /**
     * 序号
     */
    @TableField(value = "SERIAL_NUM")
    private Double serialNum;

    /**
     * 飞行检查id
     */
    @TableField(value = "FLIGHT_PLAN_CHECK_ID")
    private Long flightPlanCheckId;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME")
    private Date createTime;

    /**
     * 创建人id
     */
    @TableField(value = "CREATOR_ID")
    private Long creatorId;

    /**
     * 创建人姓名
     */
    @TableField(value = "CREATOR")
    private String creator;

    /**
     * 创建人部门id
     */
    @TableField(value = "CREATE_DEPT_ID")
    private Long createDeptId;

    /**
     * 创建人部门名称
     */
    @TableField(value = "CREATE_DEPT_NAME")
    private String createDeptName;

    /**
     * 是否删除：0-否，1-是
     */
    @TableField(value = "DELETE_FLAG")
    private Integer deleteFlag;

    @TableField(exist = false)
    private Integer errorNum;


    @TableField(exist = false)
    private List<JgFlightContent> flightContentList;


    private static final long serialVersionUID = 1L;
}
